#ifndef __MSP_TIME_H__
#define __MSP_TIME_H__

#ifdef __cplusplus
extern "C"
{
#endif

#if defined(WIN32) || defined(WINCE)

#define MSP_SYSTEMTIME	SYSTEMTIME
#define msp_localtime	GetLocalTime

#else

typedef struct _SYSTEMTIME {
	unsigned int wYear;
	unsigned int wMonth;
	unsigned int wDayOfWeek;
	unsigned int wDay;
	unsigned int wHour;
	unsigned int wMinute;
	unsigned int wSecond;
	unsigned int wMilliseconds;
} MSP_SYSTEMTIME, *PMSP_SYSTEMTIME, *LPMSP_SYSTEMTIME;

void msp_localtime(LPMSP_SYSTEMTIME lpSystemTime);

#endif // WIN32 || WINCE

#ifdef __cplusplus
} /*extern "C"*/
#endif

#endif /* __MSP_TIME_H__ */
